package com.iotechn.unimall.data.dto.userCard;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.iotechn.unimall.data.domain.UserCardDO;
import lombok.Data;

import java.util.List;

@Data
public class UserCardExcelDTO {
    @Excel(name = "批次名称", needMerge = true)
    private String title;
    @Excel(name = "批次号", needMerge = true)
    private String cardNo;

    private Integer type;
    @Excel(name = "批次介绍", needMerge = true)
    private String description;

    private Integer total;

    private Integer surplus;

    private Integer limit;

    private Integer money;
    @ExcelCollection(name = "会员卡", orderNum = "3")
    private List<UserCardDO> userCardDOS;
}
